package com.pencilisland.pay.api.bean.mp.core;

import java.io.Serializable;


import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;


/**
 * 获取小程序ACCESS_TOKEN.服务端响应
 * 
 * messageId[wxappAccessToken] 
 *
 * @author breeze
 * 
 */
@JsonInclude(Include.NON_NULL)
public class WxappAccessTokenRES extends MessageResponse implements Serializable{
	
	private static final long serialVersionUID = 1L;

	private String accessToken;

	public WxappAccessTokenRES(){
		super();
	}

	public WxappAccessTokenRES(Boolean success_,Integer errorCode_, String message_) {
		super(success_,errorCode_,message_);
	}


	/**
	 * @return ACCESS_TOKEN
	 */
	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	
	/**
	*设置挡板数据
	*/
	public void baffle(){
		this.accessToken = "";
	}

}